<?=$html->docType();?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Admin Interface : <?php echo $title_for_layout?></title>
<?=$html->css('admin');?>
<?=$html->css('superfish');?>
<?=$html->css('superfish-navbar');?>
<?=$html->css('ui-lightness/jquery-ui-1.8.custom.css');?>
<?=$html->css('../facebox/facebox.css');?>
<?=$html->css('../thickbox/thickbox.css');?>
<?=$javascript->link('jquery-1.4.2.min');?>
<?=$javascript->link('jquery-ui-1.8.custom.min.js');?>
<?=$javascript->link('jqueryCookie.js');?>
<?=$javascript->link('hoverIntent');?>
<?=$javascript->link('superfish');?>
<?=$javascript->link('../facebox/facebox.js');?>
<?=$javascript->link('../thickbox/thickbox.js');?>
<?=$scripts_for_layout;?>

</head>
<body>
	<table border="2" width="100%" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	    <td>
			<table width="100%" cellspacing="0" cellpadding="0">
			  <tr>
				<td height="15" bgcolor="#666666" class="text_white">&nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/time.gif" /> <? $now = getdate(); echo $now["mday"].".".$now["mon"].".".$now["year"]; ?></td>
				<td height="15" bgcolor="#666666"><div align="right" class="text_white"><img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/user.gif" /> <?=$username?> | <a href="<?=APP_ROOT?>/users/logout" class="text_red"><img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/login.gif"/> Log OFF</a>&nbsp;&nbsp;&nbsp;&nbsp;</div></td>
			  </tr>
			  <tr>
				<td background="<?=APP_ROOT;?>/img/admin_panel_grad.jpg" height="28">
					&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size:16px; font-weight: bold;"><? echo SITE_NAME; ?> <span style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size:16px; font-weight: bold; color:#999999;">administrators tool</span> </span></td>
				<td align="right" background="<?=APP_ROOT;?>/img/admin_panel_grad.jpg"  bgcolor="#666666" height="28">
					<div class="text_red"><?php echo $session->flash(); ?></div></td>
			  </tr>
			</table>
		</td>
	  </tr>
	  <tr>
	    <td ><?=$this->element('admin_nav'); ?></td>
	</tr>
	<tr>
		<td  valign="top" class="text" style="border-bottom: 0;">
			
			<blockquote><?=$content_for_layout;?></blockquote>
			
		</td>
	  </tr>
	  <tfoot>
	  	<td style="border-top: 0;">
	  	<div style="margin-top: 10px; padding: 10px 10px 10px 10px; background-color: #eaeeef;">
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/arrow_down.gif" align="absbottom" /> - move down
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/arrow_next.gif" align="absbottom" /> - move right
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/comments.gif" align="absbottom" /> - quick view (popup)
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/application.gif" align="absbottom" /> - view item
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/reply.gif" align="absbottom" /> - edit 
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/action_delete.gif" align="absbottom" /> - delete
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/action_remove.gif" align="absbottom" /> - remove from list
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/action_check.gif" align="absbottom" /> - active (click to deactivate) 
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Grey/GIF/action_check.gif" align="absbottom" /> - passive
		 &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?=APP_ROOT;?>/img/icons/Colored/GIF/search.gif" align="absbottom" /> - search

</div></td>
	  </tfoot>

	</table>
<table align="center" width="98%" border="0">
  <tr>
  	<td align="right" ><a href="mailto:info@mazestudio.com"><small>developed By</small> <b>M</b>aze <b>S</b>tudio<sup>&reg;</sup></a></td>
  </tr>
</table>
</body>
</html>
